package com.wms.ymcc.api;

import com.wms.ymcc.result.JSONResult;
import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.web.bind.annotation.PathVariable;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RequestMethod;

/**
 * @author : 阿盛哟
 * @description : 课程服务API调用视频
 * @createDate : 2025/6/21 9:27
 */
@FeignClient(value = "service-media")
public interface MediaFileAPI {

    @RequestMapping(value = "/mediaFile/course/{courseId}",method = RequestMethod.GET)
    JSONResult findByCourseId(@PathVariable("courseId") Long courseId);

}